<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>足球圈</title>

    <link rel="stylesheet" href="./src/iconfont.css">

    <style>
        * {
            margin: 0;
            padding: 0;
        }

        ul {
            list-style: none;
        }

        html,
        body {
            height: 100%;
        }

        body {
            display: flex;
            flex-direction: column;
        }


        header {
            height: 44px;
            background: #0cc440;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        header div {
            width: 60px;
            height: 25px;
            line-height: 25px;
            text-align: center;
            font-size: 12px;

        }

        header div:nth-child(1) {
            border-radius: 12px 0 0 12px;
            background: #63d985;
            color: #fff;

        }

        header div:nth-child(2) {
            border-radius: 0 12px 12px 0;
            background: #3dd066;
            color: #a9e4a9;
        }


        section {
            flex: 1;
            overflow: auto;

        }

        section ul {
            display: flex;
            position: sticky;
            top: 0;
            background: white;

        }

        section ul li {
            flex: 1;
            text-align: center;
            height: 35px;
            line-height: 35px;
            border-bottom: 1px solid #d9d9d9;
            color: #8c8c8c;
            font-size: 12px;
        }

        section ul li:hover {
            border-bottom: 2px solid #08c63e;
            color: #08c63e;
            font-size: 14px;
            font-weight: bold;
        }

        section .list {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        section .list>div {
            width: 49%;
            margin-top: 4px;
            border: 1px solid #eee;
        }

        section .list>div img {
            width: 100%;
        }

        section .list>div p {
            height: 30px;
            font-size: 12px;
            text-indent: 10px;
            line-height: 30px;
        }

        footer {
            height: 44px;
            background: white;
            color: #999;
        }

        footer ul {
            display: flex;
            height: 100%;
        }

        footer li {
            flex: 1;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        footer li i {
            height: 21px;
            font-size: 16px;
            line-height: 21px;
            text-align: center;
        }

        footer li span {
            height: 17px;
            font-size: 12px;
            text-align: center;
            line-height: 17px;
        }
        footer li:hover{
            color: #08c63e;
            font-weight: bold;
            
        }
        footer li:nth-child(3){
            position: relative;
           
        }

        footer li:nth-child(3) i{
            width: 50px;
            height: 50px;
            border: 1px solid gainsboro;
            border-radius: 50%;
            position: absolute;
            left: 50%;
            margin-left: -25px;
            top: -8px;
            font-size: 30px;
            text-align: center;
            line-height: 50px;
            background-color: white;
        }
    </style>
</head>

<body>

    <header>
        <div>热点</div>
        <div>关注</div>

    </header>

    <section>
        <ul>
            <li>足球现场</li>
            <li>足球生活</li>
            <li>足球美女</li>

        </ul>

        <div class="list">
            <div>
                <img src="./image/1.webp" alt="">
                <p>内容内容</p>
            </div>
            <div>
                <img src="./image/1.webp" alt="">
                <p>内容内容</p>
            </div>
            <div>
                <img src="./image/1.webp" alt="">
                <p>内容内容</p>
            </div>

            <div>
                <img src="./image/1.webp" alt="">
                <p>内容内容</p>
            </div>

            <div>
                <img src="./image/1.webp" alt="">
                <p>内容内容</p>
            </div>

            <div>
                <img src="./image/1.webp" alt="">
                <p>内容内容</p>
            </div>

            <div>
                <img src="./image/1.webp" alt="">
                <p>内容内容</p>
            </div>



        </div>

    </section>
    <footer>

        <ul>
            <li>
                <i class="iconfont icon-shouye"></i>
                <span>首页</span>
            </li>
            <li>
                <i class="iconfont icon-sousuo"></i>
                <span>发现</span>
            </li>
            <li>
                <i class="iconfont icon-xiangji"></i>
            </li>
            <li>
                <i class="iconfont icon-shipin"></i>
                <span>视频</span>
            </li>
            <li>
                <i class="iconfont icon-geren"></i>
                <span>我的</span>
            </li>


        </ul>

    </footer>
</body>

</html>